/*
 * IListener.h
 *
 *  Created on: 30.10.2011
 *      Author: niea
 */

#ifndef ILISTENER_H_
#define ILISTENER_H_

#include <string>
#include <vector>
#include "../../common/rapidxml-1.13/rapidxml.hpp"
#include "ExtXml.h"
#include "NetException.h"

namespace net {

class IListener {
public:
	virtual ExtXml onXmlReceived(ExtXml const &rx_message) {
		throw NotImplementedException();
	}
	virtual std::vector<char> onRawReceived(std::vector<char> const &rx_message) {
		throw NotImplementedException();
	}
};

}

#endif /* ILISTENER_H_ */
